<!DOCTYPE html>
<html lang="zh-CN" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout"
      layout:decorate="~{layout/personalCenterLayout.html}"
      xmlns:th="http://www.thymeleaf.org">


<body>
<!--个人中心     口子开始-->
<div id="personCenterLayout" layout:fragment="personCenterLayout">
    <div class="you fl">
        <div class="tx clearfix" th:if="${session.user!=null}">
            <div class="fl clearfix">
                <a href="#" class="fl"><img src="/img/tx.png"/></a>
                <p class="fl" th:object="${session.user}">
                    <span th:text="*{nickName}">六六六</span>
                    <!-- <span th:if="*{nickName}" th:text="你没有昵称,请前往">六六六</span>-->
                    <a href="/user/midifyGRXinXi">修改个人信息></a></p>
                <!-- <div class="fr">绑定邮箱：12****4@**.com</div>-->


                <div class="bott">
                    <div class="clearfix">
                        <a href="#" class="fl"><img src="/img/gxin1.jpg"/></a>
                        <p class="fl"><span>待支付的订单：<strong>0</strong></span>
                            <a href="../order/myorderq.html">查看待支付订单></a>
                        </p>
                    </div>
                    <div class="clearfix">
                        <a href="#" class="fl"><img src="/img/gxin2.jpg"/></a>
                        <p class="fl"><span>待收货的订单：<strong>0</strong></span>
                            <a href="../order/myorderq.html">查看待收货订单></a>
                        </p>
                    </div>
                    <div class="clearfix">
                        <a href="#" class="fl"><img src="/img/gxin3.jpg"/></a>
                        <p class="fl"><span>待评价的订单：<strong>0</strong></span>
                            <a href="myprod.html">查看待评价订单></a>
                        </p>
                    </div>
                    <div class="clearfix">
                        <a href="#" class="fl"><img src="/img/gxin4.jpg"/></a>
                        <p class="fl"><span>喜欢的商品：<strong>0</strong></span>
                            <a href="#">查看喜欢的商品></a>
                        </p>
                    </div>
                </div>
            </div>
        </div>

        <div class="tx clearfix" th:if="${session.user==null}">
            <div class="tx clearfix">
                <div class="fl clearfix">
                    <p class="fl">
                        <a href="/zbest/user/tologin"><span th:text="请登录">六六六</span></a></p>
                </div>
            </div>
        </div>

    </div>
</div>
<!--个人中心     口子结束-->


<!------------------------------idea------------------------------>
<!--<div class="address mt" id="add">
    <div class="wrapper clearfix">
        <a href="../index.html" class="fl">首页</a>
        <span>/</span>
        <a href="mygxin.html" class="on">个人中心</a>
    </div>
</div>-->


<script layout:fragment="script">


</script>


</body>
</html>
